var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var UserSchema = new mongoose.Schema({//定义数据模型
    name:String,
    password:String
    
 });
 UserSchema.plugin(mongoosePaginate);
 module.exports=mongoose.model('User',  UserSchema);
